SftTree/OCX 7.0

SftTree.RowSelectBackColor Property

Softel vdm, Inc.

Defines the row header background color used to draw the item when it is selected.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.SelectBackColor instead

Syntax       

Get

VB.NET

Clr = object.get_RowSelectBackColor(ByVal ItemIndex As Integer)  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.RowSelectBackColor(ByVal ItemIndex As Long)  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.get_RowSelectBackColor(int ItemIndex);

VC++

OLE_COLOR Clr = object->RowSelectBackColor[long ItemIndex];
OLE_COLOR Clr = object->GetRowSelectBackColor(long ItemIndex);

C

HRESULT object->get_RowSelectBackColor(long ItemIndex, OLE_COLOR* Clr);

Delphi

Clr := object.RowSelectBackColor[ItemIndex : Integer]  : TColor;

Put

VB.NET

object.set_RowSelectBackColor(ByVal ItemIndex As Integer, ByVal Clr As System.Drawing.ColorLanguage-specific information)

VB

object.RowSelectBackColor(ByVal ItemIndex As Long) = Clr  As OLE_COLOR

C#.NET

void object.set_RowSelectBackColor(int ItemIndex, uintLanguage-specific information Clr);

VC++

OLE_COLOR object->RowSelectBackColor[long ItemIndex] = Clr;
void object->PutRowSelectBackColor(long ItemIndex, OLE_COLOR Clr);

C

HRESULT object->put_RowSelectBackColor(long ItemIndex, OLE_COLOR Clr);

Delphi

object.RowSelectBackColor[ItemIndex : Integer] := Clr  : TColor;

object

A SftTree object.

ItemIndex

The zero-based item index.

Clr

Defines the row header background color used to draw the item when it is selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.SelectBackColor instead

The RowSelectBackColor property defines the row header background color used to draw the item when it is selected.

The row header described by ItemIndex has the background color attribute Clr.  This color is used as background color when the item is selected.  If the item is not selected, the RowHeader.BackColor property is used instead.

This property has no effect if Windows themes are used.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com